/* .image-container img {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
}

.collage img {
    width: 100%;
    height: auto;
    border: 2px solid #ddd;
    border-radius: 8px;
} */

.rectangle-box {
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    background-color: #f9f9f9;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.rectangle-box {
    width: 100%;
    height: auto;
    border-radius: 6px;
}

.rectangle-box .image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.image-container {
    position: relative;
    width: 100%;
    /* Full width */
    padding-top: 100%;
    /* Ensures a square aspect ratio */
    overflow: hidden;
    /* Hides any overflowing parts of images */
    border-radius: 12px;
    /* Rounded corners */
    background-color: #f0f0f0;
    /* Placeholder background color */
}

.image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    /* Fill container width */
    height: 100%;
    /* Fill container height */
    object-fit: cover;
    /* Crop and scale image proportionally */
}

/* Modal Styles */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1000;
    /* Sit on top */
    padding-top: 60px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.9);
    /* Black with opacity */
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

@media (max-width: 576px) {
    .rectangle-box .image-grid {
        grid-template-columns: 1fr;
    }
}